home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / dbus-1 / system.d / hal.conf < prev    next >
Text File  |  2009-10-05  |  4KB  |  92 lines

  1. <!DOCTYPE busconfig PUBLIC
  2.  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  3.  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
  4. <busconfig>
  5.  
  6.   <!-- This configuration file specifies the required security policies
  7.        for the HAL to work. -->
  8.  
  9.   <!-- Only root or user haldaemon can own the HAL service -->
  10.   <policy user="haldaemon">
  11.     <allow own="org.freedesktop.Hal"/>
  12.   </policy>
  13.   <policy user="root">
  14.     <allow own="org.freedesktop.Hal"/>
  15.   </policy>
  16.  
  17.   <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
  18.   <policy context="default">
  19.     <allow send_destination="org.freedesktop.Hal"
  20.            send_interface="org.freedesktop.DBus.Introspectable"/>
  21.     <allow send_destination="org.freedesktop.Hal"
  22.            send_interface="org.freedesktop.DBus.Properties" />
  23.  
  24.     <allow send_destination="org.freedesktop.Hal"
  25.            send_interface="org.freedesktop.Hal.Device"/>
  26.     <allow send_destination="org.freedesktop.Hal"
  27.            send_interface="org.freedesktop.Hal.Manager"/>
  28.   </policy>
  29.  
  30.   <!-- Only allow users at the local console to manipulate devices -->
  31.   <policy at_console="true">
  32.     <allow send_destination="org.freedesktop.Hal"
  33.            send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
  34.     <allow send_destination="org.freedesktop.Hal"
  35.            send_interface="org.freedesktop.Hal.Device.DockStation"/>
  36.     <allow send_destination="org.freedesktop.Hal"
  37.            send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
  38.     <allow send_destination="org.freedesktop.Hal"
  39.            send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/>
  40.     <allow send_destination="org.freedesktop.Hal"
  41.            send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
  42.     <allow send_destination="org.freedesktop.Hal"
  43.            send_interface="org.freedesktop.Hal.Device.Leds"/>
  44.     <allow send_destination="org.freedesktop.Hal"
  45.            send_interface="org.freedesktop.Hal.Device.LightSensor"/>
  46.     <allow send_destination="org.freedesktop.Hal"
  47.            send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
  48.     <allow send_destination="org.freedesktop.Hal"
  49.            send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
  50.     <allow send_destination="org.freedesktop.Hal"
  51.            send_interface="org.freedesktop.Hal.Device.Volume"/>
  52.     <allow send_destination="org.freedesktop.Hal"
  53.            send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  54.     <allow send_destination="org.freedesktop.Hal"
  55.            send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>
  56.  
  57.   </policy>
  58.  
  59.   <!-- well,...and root too -->
  60.   <policy user="root">
  61.     <allow send_destination="org.freedesktop.Hal"
  62.            send_interface="org.freedesktop.Hal.Device.CPUFreq"/>
  63.     <allow send_destination="org.freedesktop.Hal"
  64.            send_interface="org.freedesktop.Hal.Device.DockStation"/>
  65.     <allow send_destination="org.freedesktop.Hal"
  66.            send_interface="org.freedesktop.Hal.Device.KillSwitch"/>
  67.     <allow send_destination="org.freedesktop.Hal"
  68.            send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/>
  69.     <allow send_destination="org.freedesktop.Hal"
  70.            send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
  71.     <allow send_destination="org.freedesktop.Hal"
  72.            send_interface="org.freedesktop.Hal.Device.Leds"/>
  73.     <allow send_destination="org.freedesktop.Hal"
  74.            send_interface="org.freedesktop.Hal.Device.LightSensor"/>
  75.     <allow send_destination="org.freedesktop.Hal"
  76.            send_interface="org.freedesktop.Hal.Device.Storage"/>
  77.     <allow send_destination="org.freedesktop.Hal"
  78.            send_interface="org.freedesktop.Hal.Device.Storage.Removable"/>
  79.     <allow send_destination="org.freedesktop.Hal"
  80.            send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
  81.     <allow send_destination="org.freedesktop.Hal"
  82.            send_interface="org.freedesktop.Hal.Device.Volume"/>
  83.     <allow send_destination="org.freedesktop.Hal"
  84.            send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  85.     <allow send_destination="org.freedesktop.Hal"
  86.            send_interface="org.freedesktop.Hal.Device.WakeOnLan"/>
  87.  
  88.   </policy>
  89.  
  90. </busconfig>
  91.  
  92.